package com.snail.study.service;

import com.snail.study.rpc.client.HelloClient;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class HelloService {

    @Resource
    private HelloClient helloClient;

    public String helloWorld(){
        String helloWorld = helloClient.helloWorld();
        return helloWorld;
    }
}
